<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="http://localhost:8080/RequestHeader" method="get">

    username:<input type="text" name="username" /><br>

    password:<input type="password" name="password" /> <br>

    <input type="submit" value="登录">

</form>
<h2>Rest分格测试</h2>
<form action="/saveuser" method="post">
    姓名：<input name="userName" value="zhangsan"></br>
    年龄：<input name="age" value="18"></br>
    生日：<input name="age" value="2019/12/10"></br>
    宠物姓名：<input name="age" value="阿毛"></br>
    宠物年龄：<input name="age" value="5"></br>
    <input type="submit" value="保存">
</form>
<h2>Rest分格测试</h2>
<form action="http://localhost:8080/user" method="get">

    <input value="REST-GET" type="submit">

</form>
<form action="http://localhost:8080/user" method="post">
    <input value="REST-POST" type="submit">
</form>
<form action="http://localhost:8080/user" method="post">
    <input type="hidden" name="_m" value="PUT">
    <input value="REST-PUT" type="submit">

</form>
<form action="http://localhost:8080/user" method="post">
    <input type="hidden" name="_m" value="DELETE">
    <input value="REST-DELETE" type="submit">

</form>
</body>
</html>